using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;

[CreateAssetMenu(menuName = "Event/IntEventSO")]
public class IntEventSO : ScriptableObject
{
    public UnityAction<int> OneventRaised;

    public void RiaseEvent(int amount) 
    {
        OneventRaised?.Invoke(amount);
    }
}
